using EMan.Common.EnterpriseStructure;

namespace Server.FunctionalTests.Dal.Helpers
{
  public static class Extensions
  {
    public static bool FullyEquals( this Department l, Department r )
    {
      return l.Id == r.Id && l.Title == r.Title && l.Description == r.Description && l.Revision == r.Revision;
    }

    public static bool FullyEquals( this Job l, Job r )
    {
      return l.Id == r.Id && l.Revision == r.Revision && l.Title == r.Title && l.Description == r.Description;
    }
  }
}